package net.huashitong.scheduling.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.sirdc.modules.core.dao.BaseDao;
import com.sirdc.modules.sys.base.StringPKService;

import net.huashitong.scheduling.dao.IndustryRevenueDao;
import net.huashitong.scheduling.entity.IndustryRevenue;
@Service
public class IndustryRevenueService extends StringPKService<IndustryRevenue>{
	
	@Autowired
	private IndustryRevenueDao dao;
	
	@Override
	protected BaseDao<IndustryRevenue, String> getDao(){
		return dao;
	}
	public IndustryRevenue queryByName(String name){
		return dao.queryByName(name);
	}
	
	public List<IndustryRevenue> queryBySysId(String sysId){
		return dao.queryBySysId(sysId);
	}
}
